<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>H5</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link href="../../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../../css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="../../css/animate.css" rel="stylesheet">
    <link href="../../css/jquery.tagsinput.min.css" rel="stylesheet">
    <link href="../../css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="../../css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
    <link href="../../css/style.css?v=4.1.0" rel="stylesheet">

</head>
<body >
<style>
    div.tagsinput span.tag{
        border:1px solid #1eb2b2;
        background: #18a689;
    }
    div.tagsinput span.tag a{
        color: #999999;
    }
    .btn-success {
        background-color: #1ab394;
        border-color: #1ab394;
        color: #FFFFFF;
    }
    .btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {
        background-color: #1ab394;
        border-color: #1ab394;
        color: #FFFFFF;
    }
</style>
<div class="wrapper wrapper-content animated fadeInRight">
    <form class="form-horizontal">
        <div class="form-group">
            <div class="row form-inline" style="margin-left: 20px">
                <!--<label class="col-sm-2 control-label" style="font-size: 14px;padding-right: 10px;">H5设计网址</label>-->
                <label class="col-sm-2 control-label">H5设计网址</label>
                <div class="col-sm-1">
                    <select class="form-control m-b" name="h5type">
                        <option value="rabbitpre">兔展</option>
                        <option value="eqxiu">易企秀</option>
                        <option value="rrxiu">人人秀</option>
                    </select>
                </div>
                <input name = "url" type="url" class="form-control" style="margin-left:10px;width: 400px;" maxlength="200"
                       placeholder="请输入链接地址">
                <button id="downButton" class="btn btn-primary" style="margin-left: 5px" type="button">
                    &nbsp;确定
                </button>
                <!--<button id="up" class="btn btn-primary" style="margin-left: 5px" type="button"><i-->
                        <!--class="fa fa-angle-up"></i>&nbsp;确定-->
                <!--</button>-->
                <!--<button id="down" class="btn btn-primary" style="margin-left: 5px" type="button"><i-->
                        <!--class="fa fa-angle-down"></i>&nbsp;确定-->
                <!--</button>-->
            </div>
        </div>
    </form>
    <div class="row">
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div class="col-sm-10" style="margin:0 auto;">
                        <!---->
                        <!--https://h5uf.rrxiu.net/v/gtfigu?iframe=1-->
                        <!--/web/h5/page/bb8b00e1-51ca-4793-832f-76794a0c74c9/BRNBJv3.html-->
                        <!--/web/test3.html-->
                        <!--/web/h5/page/b328e9e9-c9e7-4671-b326-77565035691c/neUzquH.html-->
                        <iframe name="page-view"  align="absmiddle" src="" id="page-view" width="320px" height="504px" class="page-view-bg"></iframe>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-8">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <input name="id" type="hidden" class="form-control">
                        </div>
                        <div class="form-group">
                            <input name="third_url" type="hidden" class="form-control">
                        </div>
                        <div class="form-group" >
                            <label class="col-sm-1 control-label" style="text-align: left;">标题:</label>
                            <div class="col-sm-6">
                                <input style="text-align: left;" name="title" class="form-control" type="text" placeholder="请输入标题">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="tags_1" class="col-sm-1 control-label" style="text-align: left;">标签:</label>
                            <div class="col-sm-6" >
                                <input id="tags_1" type="text" class="form-control"  />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label" style="text-align: left;">&nbsp;&nbsp;</label>
                            <div class="col-sm-6" >
                                <p class="mt8" style="margin-top: 8px;">
                                    <span style="margin: 0;font-size: 12px;color: #999999;">最多添加5个标签</span>
                                </p>
                            </div>
                        </div>
                        <br><br>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button id="save" type="button" class="btn btn-primary"  style="margin-left: 5px" >保存</button>
                                <button id="push" type="button" class="btn btn-primary"  style="margin-left: 5px">推送</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 全局js -->
<script src="../../js/jquery.min.js?v=2.1.4"></script>
<script src="../../js/bootstrap.min.js?v=3.3.6"></script>
<script src="https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<!--提示框-->
<script src="/lib/config.js"></script>
<script src="../../js/jquery.tagsinput.min.js"></script>
<script src="js/h5-add.js"></script>
<script>
    $(function () {
        $('#tags_1').importTags("");
        $('#tags_1').tagsInput({
            width:'auto',
            onChange: function(){
                let len = $("#tags_1_tagsinput .tag").length;
                tags_1_addTag.style.display = "";
                if(len >= 5){
                    tags_1_addTag.style.display = "none";
                }
            }
        });
    })
</script>

</body>
</html>